<template>
    <div id="app">
        <el-config-provider :locale="zhCn">
            <router-view></router-view>
        </el-config-provider>
    </div>
</template>

<script>
import Login from "./views/login/login.vue";
import Main from "./views/main/Main.vue";

import { defineComponent } from "vue";
import { ElConfigProvider } from "element-plus";

import zhCn from 'element-plus/lib/locale/lang/zh-cn'

export default {
    components: {
        Login,
        Main,
        ElConfigProvider,
        defineComponent,
    },
    setup(){
      return {
        zhCn
      }
    }
};
</script>

<style scoped>
#app {
    height: 100%;
}
</style>
